package models

import (

	"go-admin/common/models"

)

type Jenkins struct {
    models.Model
    
    Name string `json:"name" gorm:"type:varchar(128);comment:名称"` 
    Username string `json:"username" gorm:"type:varchar(128);comment:jenkins 用户名称"` 
    Password string `json:"password" gorm:"type:varchar(128);comment:jengkins 密码"` 
    Address string `json:"address" gorm:"type:varchar(128);comment:jenkins 地址"` 
    Remark string `json:"remark" gorm:"type:varchar(255);comment:备注"` 
    models.ModelTime
    models.ControlBy
}

func (Jenkins) TableName() string {
    return "jenkins"
}

func (e *Jenkins) Generate() models.ActiveRecord {
	o := *e
	return &o
}

func (e *Jenkins) GetId() interface{} {
	return e.Id
}